#
# Be sure to run `pod lib lint MyFramework.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'CbchotSDK'
  s.version          = '2.15.4'
  s.summary          = '中车SDK'

# This description is used to generate tags and improve search results.
#   * Think: What does it do? Why did you write it? What is the focus?
#   * Try to keep it short, snappy and to the point.
#   * Write the description between the DESC delimiters below.
#   * Finally, don't worry about the indent, CocoaPods strips it!

  s.description      = <<-DESC
TODO: Add long description of the pod here.
                       DESC

  s.homepage         = 'https://gitee.com/summer-wind/Cbchot_zc'
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { '李雷川' => '506396403@qq.com' }
  s.source           = { :git => 'https://gitee.com/summer-wind/Cbchot_zc.git', :tag => s.version.to_s }
  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'

  s.ios.deployment_target = '8.0'

  s.public_header_files = 'CbchotSDK/Classes/**/*.{h}'
  s.source_files = 'CbchotSDK/Classes/**/*.{h,m,mm}'


  s.dependency   'AFNetworking'
  s.dependency   'Masonry'
  s.dependency   'CBCReader'

  valid_archs = ['arm64',
                 'x86_64',
                 'armv7',
                 'armv7s']
  s.xcconfig = {
    'VALID_ARCHS' =>  valid_archs.join(' '),
  }

  s.pod_target_xcconfig = { 'OTHER_LDFLAGS' => '-ObjC' }
  s.library = 'c++'
  s.frameworks = 'AVFoundation', 'AVKit' , 'AdSupport', 'CoreGraphics', 'CoreMedia', 'CoreTelephony', 'SystemConfiguration', 'UIKit'
  s.vendored_frameworks = ['CbchotSDK/libs/MTGSDK.framework',
                          'CbchotSDK/libs/MTGSDKInterstitialVideo.framework',
                          'CbchotSDK/libs/MTGSDKReward.framework']
  s.vendored_libraries = ['CbchotSDK/shandong/libTrack_SDK.a']
  s.resource_bundles = {
    'CbchotSDK' => ['CbchotSDK/Assets/CbchotSDK.bundle/*.{png,jpg}']
  }




end
